/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.guaraba.patrimonio.facade;



import br.com.guaraba.patrimonio.modelo.Pessoa;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.apache.log4j.Logger;
/**
 *
 * @author marcelo
 */

@Stateless
public class PessoaFacade extends AbstractFacade<Pessoa>{
    static Logger logger = Logger.getLogger(PessoaFacade.class.getName());
    @PersistenceContext(unitName = "PatrimonioPU")
    private EntityManager em;

    public EntityManager getEntityManager() {
        return em;
    }

    public PessoaFacade() {
        super(Pessoa.class);
    }
}
